home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 December / 2004-12 CHIP.iso / Internet / NVU 0.50 for Windows / nvu-0.50-win32-installer-full.exe / {app} / chrome / classic.jar / skin / classic / messenger / messageBody.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2004-03-10  |  3.7 KB  |  151 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Netscape Public License
  5.  * Version 1.1 (the "License"); you may not use this file except in
  6.  * compliance with the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/NPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is 
  17.  * Netscape Communications Corporation.
  18.  * Portions created by the Initial Developer are Copyright (C) 1998
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *  Joe Hewitt <hewitt@netscape.com>
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or 
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the NPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the NPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. /* ===== messageBody.css =================================================
  39.   == Styles for the body of a mail message.
  40.   ======================================================================= */
  41.  
  42. @import url(chrome://communicator/skin/smileys.css);
  43.  
  44. /* XXX Breaks the HTML rules below (.moz-class stuff), at least on Linux.
  45.    "html|.class" doesn't work.
  46. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  47. @namespace html url("http://www.w3.org/1999/xhtml"); 
  48. */
  49.  
  50. window {
  51.   overflow: auto;
  52. }
  53.  
  54. html|html {
  55.   /* XXX Doesn't seem to work. (Same with "html|body".) */
  56.   background-color: window;
  57. }
  58.  
  59. mailattachcount {
  60.   display: none;
  61. }
  62.  
  63. /* :::: message header ::::: */
  64.  
  65. header {
  66.   text-align: left;
  67. }
  68.  
  69. headerdisplayname {
  70.   font-weight: bold;
  71.   white-space: pre;
  72. }
  73.  
  74. .header-part1 {
  75.   background-color: #EFEFEF;
  76. }
  77.  
  78. .header-part2,
  79. .header-part3 {
  80.   background-color: #DEDEDE;
  81. }
  82.  
  83. div.headerdisplayname {
  84.   display: inline;
  85.   font-weight: bold;
  86.   white-space: pre;
  87. }
  88.  
  89. /* ::::: message text, incl. quotes ::::: */
  90.  
  91. .moz-text-flowed blockquote {
  92.   margin: inherit;
  93.   border-width: medium;
  94.   border-color: gray;
  95. }
  96.  
  97. .moz-text-plain pre {
  98.   margin: inherit;
  99.   font-family: inherit;
  100. }
  101.  
  102. .moz-text-plain[wrap="true"] {
  103.   white-space: -moz-pre-wrap;
  104. }
  105.  
  106. .moz-text-plain[wrap="false"] {
  107.   white-space: pre;
  108. }
  109.  
  110. .moz-text-plain[wrap="flow"] .moz-txt-sig {
  111.   white-space: -moz-pre-wrap;
  112. }
  113.  
  114. .moz-text-plain[graphical-quote="false"] blockquote {
  115.   margin: inherit;
  116.   border-left: inherit;
  117.   padding-left: inherit;
  118. }
  119.  
  120. .moz-text-plain[graphical-quote="true"] blockquote {
  121.   margin: inherit;
  122.   border-width: medium;
  123.   border-color: gray;
  124. }
  125.  
  126. .moz-text-plain[graphical-quote="true"] .moz-txt-citetags {
  127.   display: none;
  128. }
  129.  
  130. span.moz-txt-underscore {
  131.   text-decoration: underline;
  132. }
  133.  
  134. span.moz-txt-formfeed {
  135.   display: block;
  136.   height: 100%;
  137. }
  138.  
  139.  
  140. /* ::::: signature ::::: */
  141.  
  142. .moz-txt-sig,
  143. .moz-signature {
  144.   color: gray;
  145. }
  146.  
  147. .moz-txt-sig > a,
  148. .moz-signature > a {
  149.   color: #7777FF; /* light blue */
  150. }
  151.